import java.awt.BorderLayout;
import java.awt.Canvas;
import javax.swing.BoxLayout;
import javax.swing.JPanel;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class MainJFrame extends javax.swing.JFrame {
  private Canvas CockpitView;
  private JPanel jMainPanel;

  /**
  * Auto-generated main method to display this JFrame
  */
  public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        MainJFrame inst = new MainJFrame();
        inst.setLocationRelativeTo(null);
        inst.setVisible(true);
      }
    });
  }
  
  public MainJFrame() {
    super();
    initGUI();
  }
  
  private void initGUI() {
    try {
      setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
      {
        jMainPanel = new JPanel();
        getContentPane().add(jMainPanel, BorderLayout.NORTH);
        jMainPanel.setPreferredSize(new java.awt.Dimension(758, 151));
        {
          CockpitView = new Canvas();
          jMainPanel.add(CockpitView);
          CockpitView.setPreferredSize(new java.awt.Dimension(800, 600));
          CockpitView.setSize(800, 600);
        }
      }
      pack();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }

}
